package com.rivulet.dawn.service.service;

import com.rivulet.dawn.api.model.BraveModel;
import com.rivulet.dawn.api.request.AllDeleteRequest;
import com.rivulet.dawn.api.request.BraveQueryRequest;
import com.rivulet.dawn.api.response.BraveDetailResponse;
import com.rivulet.dawn.api.response.BraveSearchResponse;
import com.rivulet.dawn.api.tools.Page;
import io.swagger.models.auth.In;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author: xjc
 * @date: 2022/8/12 17:43
 **/
public interface BraveService {
    Integer create(BraveModel braveModel);

    void delete(AllDeleteRequest request);

    Integer update(BraveModel braveModel);

    Page<BraveSearchResponse> search(BraveQueryRequest request);

    BraveDetailResponse detail(Long id);
}
